package yxy.cherry.future.client;

import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.handler.traffic.ChannelTrafficShapingHandler;
import yxy.apple.nio.Handler;
import yxy.banana.server.internal.InternalInitializer;
import yxy.banana.socket.controlled.Controller;

public class ClientInitializer extends InternalInitializer {

	@Override
	protected Handler provideHandler(NioSocketChannel channel) throws Exception {
		ClientController controller = new ClientController();
		return Controller.bind(controller, ClientHandler.class);
	}

	@Override
	protected ChannelTrafficShapingHandler provideChannelTrafficShaper(NioSocketChannel channel) throws Exception {
		return null;
	}

}
